<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Honeydew管理介面</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Jquery -->
<script src="http://code.jquery.com/jquery.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" />
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<!-- carousel -->
<link href="${pageContext.request.contextPath}/css/carousel.css" rel="stylesheet" />
<!-- Bootstrap -->
<link href="${pageContext.request.contextPath}/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="${pageContext.request.contextPath}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<!-- responsive -->
<link href="${pageContext.request.contextPath}/css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<!-- holder -->
<script src="${pageContext.request.contextPath}/holder/holder.js"></script>
<!-- commons -->
<link href="${pageContext.request.contextPath}/css/commons.css" rel="stylesheet" />

<!-- Manage -->
<script src="${pageContext.request.contextPath}/js/manage.js"></script>
<script>
$(function() {
  $( "input[name*='shoppingMoneyBo.Processdate']" ).datepicker({
  	dateFormat: "yy-mm-dd"
  });
});
</script>
</head>
<body>
<s:set var="theme" value="'simple'" scope="page" />
<s:form action="saveUpdateShoppingMoney" enctype="multipart/form-data">
	<h1>會員購物金管理</h1>
	<table width="100%" height="100%">
		<tr>
			<td>
				<s:include value="manage_head.jsp" />
			</td>
		</tr>
		<tr>
			<td>
				<s:hidden id="shoppingMoneyBo.Seqid" name="shoppingMoneyBo.Seqid" />
				<s:hidden id="userMemberBo.Userid" name="userMemberBo.Userid" />
				<table width="100%" class="table table-bordered">	
					<tr>
						<!-- 檢視欄位 -->
						<th>電子信箱</th>
						<td>
							<s:textfield theme="simple" id="userMemberBo.Email" name="userMemberBo.Email" disabled="true" cssClass="require-field" />
						</td>
						<!-- 檢視欄位 -->
						<th>姓名</th>
						<td>
							<s:textfield theme="simple" id="userMemberBo.Name" name="userMemberBo.Name" disabled="true" cssClass="require-field" />
						</td>
					</tr>
					<tr>
						<th>訂單編號</th>
						<td>
							<s:textfield theme="simple" id="shoppingMoneyBo.Ordernumber" name="shoppingMoneyBo.Ordernumber" />
						</td>
						<th>最後處理日期</th>
						<td>
							<s:textfield theme="simple" id="shoppingMoneyBo.ProcessdateStr" name="shoppingMoneyBo.ProcessdateStr" />
						</td>
					</tr>
					<tr>
						<th>原因</th>
						<td colspan="3">
							<s:textfield theme="simple" id="shoppingMoneyBo.Reason" name="shoppingMoneyBo.Reason" />
						</td>
					</tr>
					<tr>
						<th>金額</th>
						<td>
							<s:textfield theme="simple" id="shoppingMoneyBo.Amount" name="shoppingMoneyBo.Amount" />
						</td>
						<th>剩餘金額</th>
						<td>
							<s:textfield theme="simple" id="shoppingMoneyBo.Lastamount" name="shoppingMoneyBo.Lastamount" />
						</td>
					</tr>
				</table>
				<div align="right">
					<s:submit id="saveBtn" cssClass="btn" value="儲存" />
				</div>
			</td>
		</tr>
	</table>
</s:form>
</body>
</html>